package hcn.protocol.brandnew.zhenliao.huizhen;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import ctd.util.xml.jaxb.DateTimeAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 会诊记录信息更新-消息请求 - ODS_03100013
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class SetConsultationInformationRequest extends BaseRequest {

    /**
     * 医疗机构组织机构代码
     */
    @XmlElement(name = "VisitOrganization")
    private String visitOrganization;
    /**
     * 会诊单ID
     */
    @XmlElement(name = "ElectronicRequestNoteId")
    private String electronicRequestNoteId;
    /**
     * 操作类别
     */
    @XmlElement(name = "OperateType")
    private Byte operateType;
    /**
     * 会诊机构代码
     */
    @XmlElement(name = "ConsultationOrganization")
    private String consultationOrganization;
    /**
     * 操作人类别
     */
    @XmlElement(name = "OperatorType")
    private String operatorType;
    /**
     * 医生工号
     */
    @XmlElement(name = "DoctorId")
    private String doctorId;
    /**
     * 申请科室代码
     */
    @XmlElement(name = "DepartmentId")
    private String departmentId;
    /**
     * 会诊意见
     */
    @XmlElement(name = "ConsultationOpinion")
    private String consultationOpinion;
    /**
     * 会诊时间
     */
    @XmlElement(name = "ConsultationDateTime")
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date consultationDateTime;

}
